import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: "给木小野人",
  description: "一个官网",
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: 'Home', link: '/' },
      // { text: 'Examples', link: '/markdown-examples' }
    ],

    sidebar: [
      {
        text: 'Examples',
        items: [
          { text: 'Markdown Examples', link: '/markdown-examples' },
          { text: 'Runtime API Examples', link: '/api-examples' }
        ]
      }
    ],
    footer: {
      message:
      `
      <div style="display: flex; gap: 8px">
        <a href="https://beian.miit.gov.cn" target="_blank">冀ICP备2025104226号-1</a>
        <a href="https://beian.mps.gov.cn/#/query/webSearch?code=13010802002450" rel="noreferrer" target="_blank">冀公网安备13010802002450号</a>
      </div>
    `
    }
    // socialLinks: [
    //   { icon: 'github', link: 'https://github.com/vuejs/vitepress' }
    // ]
  }
})
